You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improves the Log Viewer experience on narrow viewports (below 920 px). No changes affect the desktop layout.
Changes
Search view filter bar — on narrow viewports the level filter and date range no longer clip. The date range drops to its own full-width row below the level filter and polling button, using display: contents to avoid any template restructuring.
Message rows — each log entry reflows into a card layout: timestamp and level badge on the first line, full-width message below. The machine name column is hidden as it is not useful on mobile. The column header row is hidden to match.
Overview layout — the side-by-side stats panel and log tables stack vertically on narrow viewports.
This PR is build on top of: #23029 so it should be merge after
Adds responsive CSS and a burger-menu sidebar toggle to the backoffice so the Log Viewer (and section sidebar) is usable on viewports narrower than 920 px. No desktop layout is affected.
Modified public API:UmbSplitPanelElement — new sidebarOpen reflected boolean property/attribute; UmbBackofficeContext — new mobileSidebarOpen observable, toggleMobileSidebar(), setMobileSidebarOpen(); @umbraco-cms/backoffice/const — new export UMB_MOBILE_BREAKPOINT
Breaking changes: None — all changes are additive.
Suggestions
src/Umbraco.Web.UI.Client/src/packages/core/components/split-panel/split-panel.element.ts:53: sidebarOpen is the only @property() on this element without a JSDoc comment. The three existing properties (snap, lock, position) each have a /** ... */ doc block. Add one here to keep the public API surface documented.
src/Umbraco.Web.UI.Client/src/packages/core/components/split-panel/split-panel.element.ts:327-331 and 348-351: The slot[name='end'] flex rule (flex: 1 1 auto; min-width: 0) appears twice — once at root level and again inside the @media block. The root rule already applies on mobile, so the media-query repetition is redundant.
/* root — already covers mobile */slot[name='end'] {
flex:11 auto;
min-width:0;
}
/* inside @media — the :host([connected]) wrapping doesn't change the flex behaviour */:host([connected]) slot[name='end'] {
flex:11 auto; /* ← same values, can be removed */min-width:0;
}
src/Umbraco.Web.UI.Client/src/packages/log-viewer/workspace/views/overview/log-overview-view.element.ts:179: Inside the mobile @media block, #common-messages-container is given grid-area: common-messages again — but the parent switched to display: flex, so grid-area has no effect. Only the --uui-box-default-padding override matters here; the grid-area line can be dropped.
src/Umbraco.Web.UI.Client/src/packages/core/section/default/default-section.element.ts (mobile UX): The sidebar overlay currently closes on navigation (changestate) and on viewport resize back to desktop. There is no click-outside or swipe-away handler. For a first iteration this is reasonable, but tapping the page content while the sidebar is open leaves it open with no escape other than the burger button. Worth a follow-up.
Approved with Suggestions for improvement
The implementation is solid: clean CSS-only responsive breakpoints for the log viewer, a well-structured context-driven sidebar toggle, and proper cleanup in connectedCallback/disconnectedCallback. The suggestions above are minor polish items — none need to block merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Improves the Log Viewer experience on narrow viewports (below 920 px). No changes affect the desktop layout.
Changes
display: contentsto avoid any template restructuring.This PR is build on top of: #23029 so it should be merge after